from flask import Flask, make_response,jsonify
from  app import create_app

app=create_app()

if __name__ == '__main__':
    #flask 默认的运行服务器是单进程单线程的方式 ,threaded=True 开启多线程
    app.run(host='127.0.0.1', debug=app.config['DEBUG'], port=8182,threaded=True)

#http://127.0.0.1:8182/book/search?q=0123456789333&page=11